package entity.DiscoverRecommend;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by Administrator on 15-10-21.
 */
public class DiscoverRecommendItem {
    private String title;
    private boolean hasMore;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public boolean isHasMore() {
        return hasMore;
    }

    public void setHasMore(boolean hasMore) {
        this.hasMore = hasMore;
    }


    public void parseJSON(JSONObject json) throws JSONException {
        if(json!=null)
        {
            title=json.getString("title");
            hasMore=json.getBoolean("hasMore");
        }
    }
}
